// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
/*引入资源请求axios插件*/
import axios from 'axios';
/*使用axios插件*/
Vue.prototype.$axios = axios;//全局注册，使用方法为:this.$axios
Vue.prototype.Ce_Host_GET="api1";//全局跨域解决GET请求  
Vue.prototype.Ce_Host_POST="api2";//全局跨域解决post请求     
Vue.config.productionTip = false
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
//新德汇地图应用类库
import XdhMap from 'xdh-map'
import 'xdh-map/lib/xdhmap.css'
Vue.use(XdhMap)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
